Skip to content

Refine metadata redaction heuristics to avoid allocations#139

Merged
RAprogramm merged 1 commit intonew_verisonfrom
eye-of-ra/refactor-infer_default_redaction-for-case-insensitivity
Sep 27, 2025
Merged

Refine metadata redaction heuristics to avoid allocations#139
RAprogramm merged 1 commit intonew_verisonfrom
eye-of-ra/refactor-infer_default_redaction-for-case-insensitivity

Conversation

@RAprogramm
Copy link
Owner

Summary

  • replace the string-lowering heuristic in metadata redaction with ASCII helpers that work on borrowed &str
  • add dedicated case-insensitive contains/ends_with utilities to keep substring checks allocation-free
  • extend metadata unit tests to verify case-insensitive redaction remains unchanged

Testing

  • cargo +nightly fmt --
  • cargo +1.90.0 clippy -- -D warnings
  • cargo +1.90.0 build --all-targets
  • cargo +1.90.0 test --all
  • cargo +1.90.0 doc --no-deps
  • cargo deny check
  • cargo audit

https://chatgpt.com/codex/tasks/task_e_68d723bdfa9c832b9e8e08a6e4a65b70

@RAprogramm RAprogramm merged commit 48eeea1 into new_verison Sep 27, 2025
1 of 2 checks passed
@RAprogramm RAprogramm deleted the eye-of-ra/refactor-infer_default_redaction-for-case-insensitivity branch September 27, 2025 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant